<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:81:"D:\PHP\WWW\workspace\2018\tp5\public/../application/index\view\shop\showUser.html";i:1520332318;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a{
            color: #666;
            display: inline-block;
            width: 108px;
            background: antiquewhite;
            text-decoration: none;
            border-radius: 3px;
            text-align: center;
            padding: 8px;
        }
    </style>
</head>
<body>
<h1><?php echo $username; ?>您好，以下是所有用户列表</h1>
<table cellpadding="1" cellspacing="1" border="1px">
    <tr><th>用户id</th><th>用户名</th></tr>
    <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <tr><td><?php echo $vo['id']; ?></td><td><?php echo $vo['username']; ?></td></tr>
    <?php endforeach; endif; else: echo "" ;endif; ?>

</table>
<p><a href="http://localhost/workspace/2018/tp5/public/canShowGoods">查看商品列表</a></p>
</body>
</html>